package com.gopay.common.domain.cbrmb;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.gopay.common.domain.BaseEntity;

/**
 * 
 * @ClassName: CbRmbBankRestoreDtl 
 * @Description: 还原申报实体类 
 * @author gd.cui
 * @date 2016年7月13日 上午10:28:52 ww.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "CB_RMB_BANK_RESTORE_DTL")
public class CbRmbBankRestoreDtl extends BaseEntity {

    /**
     * @Fields serialVersionUID : T
     */
    private static final long serialVersionUID = 9144729746209352379L;

    /**
     * 明细流水（交易id）
     */
    @Id
    @SequenceGenerator(name = "CB_RMB_BANK_RESTORE_DTL_SEQ", sequenceName = "CB_RMB_BANK_RESTORE_DTL_SEQ")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "CB_RMB_BANK_RESTORE_DTL_SEQ")
    @Column(name = "ID")
    private String serialId;

    /**
     * gopayorderId 对应报盘数据的gopayorderId
     */
    @Column(name = "GOPAY_ORDER_ID")
    private String gopayOrderId;

    /**
     * 付款方类型，公户/私户
     */
    @Column(name = "PAYER_ACCOUNT_TYPE")
    private String payerAccountType;

    /**
     * 付款人名称
     */
    @Column(name = "PAYER_ACCOUNT_NAME")
    private String payerAccountName;

    /**
     * 付款人证件号
     */
    @Column(name = "PAYER_DOCUMENT_NUMBER")
    private String payerDocumentNumber;

    /**
     * 付款人地址
     */
    @Column(name = "PAYER_ADDR")
    private String payerAddr;

    /**
     * 付款单位组织机构代码/报关经营单位机构代码
     */
    @Column(name = "PAYER_ORG_NO")
    private String payerOrgNo;

    /**
     * 付款人常驻国家代码，三位ISO标准码
     */
    @Column(name = "PAYER_COUNTRY_NO")
    private String payerCountryNo;

    /**
     * 付款账号
     */
    @Column(name = "PAYER_ACCOUNT_NO")
    private String payerAccountNo;

    /**
     * 付款金额
     */
    @Column(name = "PAYER_AMT")
    private BigDecimal payerAmt;

    /**
     * 发卡银行
     */
    @Column(name = "PAYER_BANK_NAME")
    private String payerBankName;

    /**
     * 
     * 银行机构代码
     */
    @Column(name = "PAYER_BANK_NO")
    private String payerBankNo;

    /**
     * 汇款交易附言
     */
    @Column(name = "PAYER_TRADE_DESC")
    private String payerTradeDesc;

    /**
     * 合同号(没有填N/A)
     */
    @Column(name = "PAYER_CONT_NO")
    private String payerContNo = "N/A";

    /**
     * 发票号(没有填N/A)
     */
    @Column(name = "PAYER_BILL_NO")
    private String payerBillNo = "N/A";

    /**
     * 创建时间
     */
    @Column(name = "CREATE_TIME")
    @Temporal(TemporalType.TIMESTAMP)
    private Date createTime;

    public String getSerialId() {
        return serialId;
    }

    public void setSerialId(String serialId) {
        this.serialId = serialId;
    }

    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    public String getPayerAccountType() {
        return payerAccountType;
    }

    public void setPayerAccountType(String payerAccountType) {
        this.payerAccountType = payerAccountType;
    }

    public String getPayerAccountName() {
        return payerAccountName;
    }

    public void setPayerAccountName(String payerAccountName) {
        this.payerAccountName = payerAccountName;
    }

    public String getPayerDocumentNumber() {
        return payerDocumentNumber;
    }

    public void setPayerDocumentNumber(String payerDocumentNumber) {
        this.payerDocumentNumber = payerDocumentNumber;
    }

    public String getPayerAddr() {
        return payerAddr;
    }

    public void setPayerAddr(String payerAddr) {
        this.payerAddr = payerAddr;
    }

    public String getPayerOrgNo() {
        return payerOrgNo;
    }

    public void setPayerOrgNo(String payerOrgNo) {
        this.payerOrgNo = payerOrgNo;
    }

    public String getPayerCountryNo() {
        return payerCountryNo;
    }

    public void setPayerCountryNo(String payerCountryNo) {
        this.payerCountryNo = payerCountryNo;
    }

    public String getPayerAccountNo() {
        return payerAccountNo;
    }

    public void setPayerAccountNo(String payerAccountNo) {
        this.payerAccountNo = payerAccountNo;
    }

    public BigDecimal getPayerAmt() {
        return payerAmt;
    }

    public void setPayerAmt(BigDecimal payerAmt) {
        this.payerAmt = payerAmt;
    }

    public String getPayerBankName() {
        return payerBankName;
    }

    public void setPayerBankName(String payerBankName) {
        this.payerBankName = payerBankName;
    }

    public String getPayerBankNo() {
        return payerBankNo;
    }

    public void setPayerBankNo(String payerBankNo) {
        this.payerBankNo = payerBankNo;
    }

    public String getPayerTradeDesc() {
        return payerTradeDesc;
    }

    public void setPayerTradeDesc(String payerTradeDesc) {
        this.payerTradeDesc = payerTradeDesc;
    }

    public String getPayerContNo() {
        return payerContNo;
    }

    public void setPayerContNo(String payerContNo) {
        this.payerContNo = payerContNo;
    }

    public String getPayerBillNo() {
        return payerBillNo;
    }

    public void setPayerBillNo(String payerBillNo) {
        this.payerBillNo = payerBillNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
}
